#ifndef _CKECK_CONFIG_H
#define _CKECK_CONFIG_H
/**
 * 必要项检查
 */
#include "../configuration.h"

#ifndef DEBUG_OUTPUT_CHANNEL
#define DEBUG_OUTPUT_CHANNEL DEBUG_OUTPUT_NO
#message DEBUG_OUTPUT_CHANNEL未定义, 设为默认, DEBUG_OUTPUT_NO
#endif

#ifndef DEFAULT_SETTINGS_VERSION
#error DEFAULT_SETTINGS_VERSION未定义
#endif

#if ESP_SAVE_SETTINGS == SETTINGS_IN_PREFERENCES && defined(ARDUINO_ARCH_ESP8266)
#error 8266不支持PREFERENCES
#endif
#endif